package com.ks.core.exception;

import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = false)
public class GunsError {
    private Integer err_code;

    private String err_message;

    public GunsError(ServiceExceptionEnum serviceExceptionEnum) {
        this.err_code = serviceExceptionEnum.getCode();
        this.err_message = serviceExceptionEnum.getMessage();
    }
}
